package com.neno.repository;

import com.neno.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @Author: root
 * @Date: 2018/11/9 22:22
 */
public interface UserRepository extends JpaRepository<User, Long> {
    User findById(long id);

    Long deleteById(Long id);
}
